import React from 'react'
import { View } from '@tarojs/components'
import style from './Bottom.module.scss'

export default function Bottom({ children, classContainer, onClick }) {
  return (
    <View onClick={onClick} className={`${style.bottomView} ${classContainer}`}>
      {children}
    </View>
  )
}

Bottom.defaultProps = {
  onClick: () => {}
}
